/*
 * @Author: xuwejie 1529315455@qq.com
 * @Date: 2023-10-10 13:49:02
 * @LastEditors: xuwejie 1529315455@qq.com
 * @LastEditTime: 2023-12-16 15:24:33
 * @FilePath: \v9\src\api\beCurrent\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

// 获取采购用户接口
export function getProcureUser(params) {
  return request({
    url: "/common/getPurchases",
    method: "get",
    params
  });
}

// 获取下单用户接口
export function getProcureUserList(params) {
  return request({
    url: "/orderList/orderUsers",
    method: "get",
    params
  });
}

// 修改价格接口
export function getUpPrice(data) {
  return request({
    url: "/orderList/upPrice",
    method: "post",
    data: data
  });
}

// 获取改价历史接口
export function getHistoryList(params) {
  return request({
    url: "/orderList/pricingLog",
    method: "get",
    params
  });
}